package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 交流中心_评论对象 k_clearinghouse_comment
 * 
 * @author kanglou
 * @date 2023-06-07
 */
@Data
@ApiModel("交流中心_评论对象 k_clearinghouse_comment")
public class KClearinghouseComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("原因")
    private String reason;


    @ApiModelProperty("是否审核通过  0否1是")
    private String state;

    /** 交流帖子id */
    @Excel(name = "交流帖子id")
    @ApiModelProperty("交流帖子id")
    private String clearinghouseId;

    /** 主键 */
    @ApiModelProperty("主键")
    private String id;

    /** 评论内容 */
    @Excel(name = "评论内容")
    @ApiModelProperty("评论内容")
    private String content;

    /** 评论人id */
    @Excel(name = "评论人id")
    @ApiModelProperty("评论人id")
    private String plId;

    /** 评论人姓名 */
    @Excel(name = "评论人姓名")
    @ApiModelProperty("评论人姓名--不填")
    private String plName;

    /** 被评论人id */
    @Excel(name = "被评论人id")
    @ApiModelProperty("被评论人id--不填")
    private String bplId;

    /** 被评论人姓名 */
    @Excel(name = "被评论人姓名")
    @ApiModelProperty("被评论人姓名--不填")
    private String bplName;

    /** 被评论人头像 */
    @Excel(name = "被评论人头像")
    @ApiModelProperty("被评论人头像")
    private String bplPhoto;

    /** 评论人头像 */
    @Excel(name = "评论人头像")
    @ApiModelProperty("评论人头像--不填")
    private String plPhoto;

    /** 评论人姓名 */
    @Excel(name = "评论人姓名")
    @ApiModelProperty("业务字段---评论人姓名")
    private String plUserName;

    @ApiModelProperty("业务字段---帖子name")
    private String clearinghouseName;

    private List<KClearinghouseCommentReply>  kClearinghouseCommentReplies;


    public void setClearinghouseId(String clearinghouseId) 
    {
        this.clearinghouseId = clearinghouseId;
    }

    public String getClearinghouseId() 
    {
        return clearinghouseId;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPlId(String plId) 
    {
        this.plId = plId;
    }

    public String getPlId() 
    {
        return plId;
    }
    public void setPlName(String plName) 
    {
        this.plName = plName;
    }

    public String getPlName() 
    {
        return plName;
    }
    public void setBplId(String bplId) 
    {
        this.bplId = bplId;
    }

    public String getBplId() 
    {
        return bplId;
    }
    public void setBplName(String bplName) 
    {
        this.bplName = bplName;
    }

    public String getBplName() 
    {
        return bplName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clearinghouseId", getClearinghouseId())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("content", getContent())
            .append("plId", getPlId())
            .append("plName", getPlName())
            .append("bplId", getBplId())
            .append("bplName", getBplName())
            .toString();
    }
}
